package ontocompo.fractalcomponentmanager.serializable;

import java.io.Serializable;
import java.rmi.RemoteException;

import ontocompo.fractalcomponentmanager.api.UIElementItf;

public class UIElementSerializable implements UIElementItf, Serializable {
	private static final long serialVersionUID = 2L;

	private String id;
	private String htmlId;
	private String htmlRepresentation;

	public UIElementSerializable(String id, String htmlId, String htmlRepresentation) {
		this.id = id;
		this.htmlId = htmlId;
		this.htmlRepresentation = htmlRepresentation;
	}
	
	@Override
	public String getHtmlId() throws RemoteException {
		return this.htmlId;
	}

	@Override
	public String getId() throws RemoteException {
		return this.id;
	}

	@Override
	public String getHtmlRepresentation() throws RemoteException {
		return this.htmlRepresentation;
	}

}
